
import index from '@/page/index'
import home from '@/page/home'
import home2 from '@/page/home2'
import login from '@/page/login'
import message from '@/page/message'
import collecting from '@/page/collecting'
import macro from '@/page/macro'
import macro4 from '@/page/macro4'
import listed from '@/page/listed'
import esglist from '@/page/esglist'
import evalist from '@/page/evalist'
import evadflist from '@/page/evadflist'
import register from '@/page/register'
import searchPage from '@/page/searchPage'
import Main from '@/components/main'
import Innovation from '@/page/innovation'
import InnovationEp from '@/page/innovationEp'
import InnovationTm from '@/page/innovationTm'
import InnovationSw from '@/page/innovationSw'
import InnovationPt from '@/page/innovationPt'
import Custom from '@/page/custom'
import CustomNew from '@/page/customNew'
import CustomNew2 from '@/page/customNew2'

export default [
  {
    path: '/',
    name: '_index',
    redirect: '/index',
  },
  {
    path: '/index',
    name: 'index',
    component: home2,
    meta: {
      requiresAuth: true
    }
  },
  {
    path: '/macro4Main',
    name: '_macro4',
    component: Main,
    meta: {
      requiresAuth: true
    },
    children: [
      {
        path: '/macro4',
        name: 'macro4',
        component: macro4,
        meta: {
          requiresAuth: true
        }
      },
      {
        path: '/collecting',
        name: 'collecting',
        component: collecting,
        meta: {
          requiresAuth: true
        }
      },
      {
        path: '/listed',
        name: 'listed',
        component: listed,
        meta: {
          requiresAuth: true
        }
      },
      {
        path: '/searchPage',
        name: 'searchPage',
        component: searchPage,
        meta: {
          requiresAuth: true
        }
      },

    ]
  },
  {
    path: '/login',
    name: 'login',
    component: login,
    meta: {
      requiresAuth: true
    }
  },
  {
    path: '/innovation',
    name: 'innovation',
    component: Innovation,
    meta: {
      requiresAuth: true
    }
  },
  {
    path: '/innovationEp',
    name: 'innovationEp',
    component: InnovationEp,
    meta: {
      requiresAuth: true
    }
  },
  {
    path: '/innovationTm',
    name: 'innovationTm',
    component: InnovationTm,
    meta: {
      requiresAuth: true
    }
  },
  {
    path: '/innovationPt',
    name: 'innovationPt',
    component: InnovationPt,
    meta: {
      requiresAuth: true
    }
  },
  {
    path: '/innovationSw',
    name: 'innovationSw',
    component: InnovationSw,
    meta: {
      requiresAuth: true
    }
  },
  {
    path: '/esglist',
    name: 'esglist',
    component: esglist,
    meta: {
      requiresAuth: true
    }
  },
  {
    path: '/evalist',
    name: 'evalist',
    component: evalist,
    meta: {
      requiresAuth: true
    }
  },
  {
    path: '/evadflist',
    name: 'evadflist',
    component: evadflist,
    meta: {
      requiresAuth: true
    }
  },
  {
    path: '/custom',
    name: 'custom',
    component: Custom,
    meta: {
      requiresAuth: true
    }
  },
  {
    path: '/customNew2',
    name: 'customNew2',
    component: CustomNew2,
    meta: {
      requiresAuth: true
    }
  },
  {
    path: '/customNew',
    name: 'customNew',
    component: CustomNew,
    meta: {
      requiresAuth: true
    }
  },
  {
    path: '/register',
    name: 'register',
    component: register,
    meta: {
      requiresAuth: true
    }
  },
  {
    path: '/message',
    name: 'message',
    component: message,
    meta: {
      requiresAuth: true
    }
  },
  {
    path: '/macro',
    name: 'macro',
    component: macro,
    meta: {
      requiresAuth: true
    }
  },
]
